﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.CoreCameraValues
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using UnityEngine.Scripting;

#nullable disable
namespace UnityEngine.Rendering
{
  [UsedByNativeCode]
  internal struct CoreCameraValues : IEquatable<CoreCameraValues>
  {
    private int filterMode;
    private uint cullingMask;
    private int instanceID;

    public bool Equals(CoreCameraValues other)
    {
      return this.filterMode == other.filterMode && (int) this.cullingMask == (int) other.cullingMask && this.instanceID == other.instanceID;
    }

    public override bool Equals(object obj)
    {
      return obj != null && obj is CoreCameraValues other && this.Equals(other);
    }

    public override int GetHashCode()
    {
      return (this.filterMode * 397 ^ (int) this.cullingMask) * 397 ^ this.instanceID;
    }

    public static bool operator ==(CoreCameraValues left, CoreCameraValues right)
    {
      return left.Equals(right);
    }

    public static bool operator !=(CoreCameraValues left, CoreCameraValues right)
    {
      return !left.Equals(right);
    }
  }
}
